package com.anycl.design.behavioral.nullobject.instancetwo;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Main {

    public static void main(String[] args) {
        AbstractGoods good = GoodsFactory.find("001");
        AbstractGoods nullGood = GoodsFactory.find("003");
        good.show();
        nullGood.show();
    }
}
